<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@include file="/white/common/taglibs.jsp"%>
<%@include file="/white/common/common.jsp"%>

<html>
<head>
<script type="text/javascript">
<!--
function NextvalidateModify(id){        	
	var url = "dataCollectAction-"+id+"!toEdit.action";
	window.location.href=url;
} 

function closewindowandref(){
	window.opener.toPageQuery(1);
	window.close();
}


-->

</script>
</head>
	<body>

		<div id="div_title">
			<h3>
				数据审核
			</h3>
		</div>


		<!-- Data Form dataCollectAction-%{dataCollect.dataCollectId}!update-->
		<%@include file="/white/common/message.jsp"%>
		<s:form method="post" id="mainForm" name="mainForm"
			action=""
			theme="simple">
			<s:token />
			<table cellpadding="0" cellspacing="0" class="t_form">
				<s:iterator value="resultList" status="sindex">
					<!--  
			            <tr>
				<td width="15%">
					DataCollectId:
				</td>
				<td>			
									<s:textfield name="dataCollect.dataCollectId" maxlength="64"/>					
												</td> 
			</tr>  
			            <tr>
				<td width="15%">
					DataCollectBatch:
				</td>
				<td>			
									<s:textfield name="dataCollect.dataCollectBatch" maxlength="64"/>					
												</td> 
			</tr> 
			-->
					<tr>
						<td width="15%">
							批次序号:
						</td>
						<td>
							${BATCH_NUM}&nbsp;&nbsp;${SEQ}
						</td>
					</tr>
					<tr>
						<td width="15%">
							操作类型:
						</td>
						<td>
							<s:select list="optTypeMap" headerKey="" headerValue=""
								name="dataCollect.optType" />
						</td>
					</tr>
					<tr>
						<td width="15%">
							商户名称:
						</td>
						<td>
							<s:textfield name="NAME"  style="width:360px;"/>
							<span class="red_star">*</span>
							<br/>NDC名称:&nbsp;${NDC_CUST_NAME}&nbsp;
						</td>
						<td>

						</td>
					</tr>
					<tr>
						<td width="15%">
							商户地址:
						</td>
						<td>
							<s:textfield name="ADDR" />
							&nbsp;NDC地址:&nbsp;${NDC_ADDRESS}
						</td>
					</tr>
					<tr>
						<td width="15%">
							电话:
						</td>
						<td>
							<s:textfield name="TEL" />
							<span class="red_star">*</span>
						</td>
					</tr>
					<tr>
						<td width="15%">
							电话类型:
						</td>
						<td>
							<s:textfield name="dataCollect.telType" />
						</td>
					</tr>
					<tr>
						<td width="15%">
							城市:
						</td>
						<td>
							<s:textfield name="dataCollect.city" />
						</td>
					</tr>
					<tr>
						<td width="15%">
							大类别:
						</td>
						<td>
							<s:textfield name="dataCollect.class01" />
						</td>
					</tr>
					<tr>
						<td width="15%">
							小类别:
						</td>
						<td>
							<s:textfield name="dataCollect.class02" />
						</td>
					</tr>

					<tr>
						<td width="15%">
							传真:
						</td>
						<td>
							<s:textfield name="dataCollect.fax" />
						</td>
					</tr>
					<tr>
						<td width="15%">
							其它电话:
						</td>
						<td>
							<s:textfield name="dataCollect.tel02" />
						</td>
					</tr>
					<tr>
						<td width="15%">
							备注:
						</td>
						<td>
							<s:textfield name="dataCollect.note" />
						</td>
					</tr>
					<tr>
						<td width="15%">
							商户简介:
						</td>
						<td>
						<s:textarea name="INFO" cols="50" rows="2"></s:textarea>
						</td>
					</tr>
					<!--
				<tr>
					<td width="15%">
						状态:
					</td>
					<td>
						<s:textfield name="dataCollect.status" maxlength="64" />
						<span class="red_star">*</span>
					</td>
				</tr>
				  
				<tr>
					<td width="15%">
						创建时间:
					</td>
					<td>
						<s:textfield name="dataCollect.createTime" label="日期"
							onfocus="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd', minDate:'1900-01-01',maxDate:''})"></s:textfield>
					</td>
				</tr>				
				<tr>
					<td width="15%">
						LastDataVerifyId:
					</td>
					<td>
						<s:textfield name="dataCollect.lastDataVerifyId" maxlength="64" />
					</td>
				</tr>
				
				<tr>
					<td width="15%">
						最后审核时间:
					</td>
					<td>
						<s:textfield name="LAST_VERIFY_TIME" readonly="true"></s:textfield>
					</td>
				</tr>-->
					<!--
				<tr>
					<td width="15%">
						最后审核用户:
					</td>
					<td>
						<s:textfield name="dataCollect.lastVerifyUser" maxlength="64" />
					</td>
				</tr>
				-->
					<s:hidden name="DATA_COLLECT_ID" />
				</s:iterator>
			</table>

			<div id="div_button">
			<s:if test="isShowPage!=\"NO\"">
			<input type="button" value="上一条" onclick="NextvalidateModify(${dataCollect.dataCollectId}-1)" Class="input_button2" />
				</s:if>
				<s:if test="canApprove==\"YES\"">
						<input type="button" value="审核通过" onclick="mainForm.action='dataCollectAction-${dataCollect.dataCollectId}!update.action';mainForm.submit();" Class="input_button2" />
						
						<input type="button" value="审核不通过" onclick="mainForm.action='dataCollectAction-${dataCollect.dataCollectId}!updateIsNo.action';mainForm.submit();" Class="input_button2" />
						
						
					
				</s:if>
				<s:if test="canGobake==\"YES\"">
						<input type="button" value="回退" onclick="mainForm.action='dataCollectAction-${dataCollect.dataCollectId}!updateIsPev.action';mainForm.submit();" Class="input_button2" />
						
				</s:if>
				<s:if test="isShowPage!=\"NO\"">
				<input type="button" value="下一条" onclick="NextvalidateModify(${dataCollect.dataCollectId}+1)" Class="input_button2" />
				</s:if>
				<s:submit key="关闭" onclick="closewindowandref();" cssClass="input_button" />
			</div>

			<s:hidden name="searchString" />

		</s:form>

		<!--Data Form End -->

	</body>

</html>